var typeVue = new Vue({
	el: "body",
	data: {
		keyword: ""
	},
	created: function() {
		_this = this
	},
	methods: {
		selectType: function(t) {
			console.log(t)
			location.href = "list.html?type=" + t
		},
		search: function() {
			if(_this.keyword.trim().length > 0) {
				var key = this.keyword
				location.href = "search.html?search=" + escape(key)
			} else {

			}
		}
	}
})